#ifndef __TREEINFOGUI_H__
#define __TREEINFOGUI_H__

#include "../ui_TreeInfo.h"
#include "../slotsData/ForestState.h"

using namespace slotsdata;

class TreeInfoGUI : public QGroupBox
{
	Q_OBJECT
	public:
		TreeInfoGUI(QWidget * parent);
	public slots:
		void setForestState(slotsdata::ForestState state);
		void selectedTreeChanged();
		void currentTreeDataModified();
		void selectedTree(int);
	signals:
		void forestChanged(slotsdata::ForestState state);

	private:
		Ui::TreeInfoGUI ui;
		void blockSignals(bool state);

		slotsdata::ForestState m_currentForest;
};

#endif
